package com.tfjybj.itoo.exam.provider.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tfjybj.itoo.exam.entity.TeacherCourseTeachClassEntity;
import com.tfjybj.itoo.exam.entity.TeacherTeachClassEntity;
import com.tfjybj.itoo.exam.model.SelectTeacherTeachClassModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TeacherTeachClassDao接口
 * teacherTeachClass表
 *
 * @author 杨江涛
 * @version 2.0.0
 * @since 2.0.0 2018-11-27 15:51:13
 */
@Repository("teacherTeachClassDao")
public interface TeacherTeachClassDao extends BaseMapper<TeacherTeachClassEntity> {
    // 根据teacherId查找TeacherTeachClass
    List<SelectTeacherTeachClassModel> getByTeacherId(@Param("teacherCourseTeachClassEntity") TeacherCourseTeachClassEntity teacherCourseTeachClassEntity);

}
